'use strict';

const Service = require('egg').Service;

class GetTypeService extends Service {
  async getList() {
    const house_type = await this.app.mysql.query('SELECT * FROM house_type');

    return house_type
  }
}

module.exports = GetTypeService;
